home *** CD-ROM | disk | FTP | other *** search
Text File | 2002-09-08 | 63.6 MB | 244,802 lines |
Text Truncated. Only the first 1MB is shown below. Download the file for the complete contents.
- #! /bin/sh
- skip=177
- # This script was generated using Makeself 1.5.5
- CRCsum=1105836875
- MD5=00000000000000000000000000000000
- label="Heavy Gear II Demo"
- script=./update.sh
- targetdir=hg2_demo
- scriptargs=""
- keep=n
- TMPROOT=${TMPDIR:=/tmp}
- finish=true; xterm_loop=;
- [ x"$1" = x-xwin ] && {
- finish="echo Press Return to close this window...; read junk"; xterm_loop=1; shift 1;
- }
- if [ x"$1" = "x-help" -o x"$1" = "x--help" ]; then
- cat << tac
- 1) Getting help or info about $0 :
- $0 --help Print this message
- $0 --info Print embedded info : title, default target directory, embedded script ...
- $0 --lsm Print embedded lsm entry (or no LSM)
- $0 --list Print the list of files in the archive
- $0 --check Checks integrity of the archive
-
- 2) Running $0 :
- $0 [options] [additional arguments to embedded script]
- with following options (in that order)
- --confirm Ask before running embedded script
- --keep Do not erase target directory after running embedded script
- --target NewDirectory Extract in NewDirectory
- tac
- exit 0;
- fi
- if [ x"$1" = "x-lsm" -o x"$1" = "x--lsm" ]; then
- cat << EOF_LSM
- no LSM
- EOF_LSM
- exit 0;
- fi
- if [ "$1" = "--info" ]; then
- echo Identification: $label
- echo Target directory: $targetdir
- echo Uncompressed size: 72521 KB
- echo Compression: gzip
- echo Date of packaging: Fri Apr 27 13:21:50 PDT 2001
- echo script run after extraction: $script $scriptargs
- [ x"$keep" = xy ] && echo "directory $targetdir is permanent" || echo "$targetdir will be removed after extraction"
- exit 0;
- fi
- if [ "$1" = "--list" ]; then
- echo Target directory: $targetdir
- tail +$skip $0 | gzip -cd | tar tvf -
- exit 0;
- fi
- if [ "$1" = "--check" ]; then
- sum1=`tail +6 $0 | cksum | sed -e 's/ /Z/' -e 's/ /Z/' | cut -dZ -f1`
- [ $sum1 -ne $CRCsum ] && {
- echo Error in checksums $sum1 $CRCsum
- exit 2;
- }
- if [ $MD5 != "00000000000000000000000000000000" ]; then
- # space separated list of directories
- [ x"$GUESS_MD5_PATH" = "x" ] && GUESS_MD5_PATH="/usr/local/ssl/bin"
- MD5_PATH=""
- for a in $GUESS_MD5_PATH; do
- if which $a/md5 >/dev/null 2>&1 ; then
- MD5_PATH=$a;
- fi
- done
- if [ -x $MD5_PATH/md5 ]; then
- md5sum=`tail +6 $0 | $MD5_PATH/md5`;
- [ $md5sum != $MD5 ] && {
- echo Error in md5 sums $md5sum $MD5
- exit 2
- } || { echo check sums and md5 sums are ok; exit 0; }
- fi
- if [ ! -x $MD5_PATH/md5 ]; then
- echo an embedded md5 sum of the archive exists but no md5 program was found in $GUESS_MD5_PATH
- echo if you have md5 on your system, you should try :
- echo env GUESS_MD5_PATH=\"FirstDirectory SecondDirectory ...\" $0 -check
- fi
- else
- echo check sums are OK ; echo $0 does not contain embedded md5 sum ;
- fi
- exit 0;
- fi
- [ x"$finish" = x ] && finish=true
- parsing=yes
- x11=y
- while [ x"$parsing" != x ]; do
- case "$1" in
- --confirm) verbose=y; shift;;
- --keep) keep=y; shift;;
- --nox11) x11=n; shift;;
- --target) if [ x"$2" != x ]; then targetdir="$2"; keep=y; shift 2; fi;;
- *) parsing="";;
- esac
- done
- if [ "$x11" = "y" ]; then
- if ! tty -s; then # Do we have a terminal?
- if [ x"$DISPLAY" != x -a x"$xterm_loop" = x ]; then # No, but do we have X?
- if xset q > /dev/null 2>&1; then # Check for valid DISPLAY variable
- GUESS_XTERMS="dtterm eterm Eterm xterm rxvt kvt"
- for a in $GUESS_XTERMS; do
- if which $a >/dev/null 2>&1; then
- XTERM=$a
- break
- fi
- done
- chmod a+x $0 || echo Please add execution rights on $0
- if [ `echo "$0" | cut -c1` = / ]; then # Spawn a terminal!
- exec $XTERM -title "$label" -e "$0" -xwin "$@"
- else
- exec $XTERM -title "$label" -e "./$0" -xwin "$@"
- fi
- fi
- fi
- fi
- fi
- if [ "$keep" = y ]; then echo "Creating directory $targetdir"; tmpdir=$targetdir;
- else tmpdir="$TMPROOT/selfgz$$"; fi
- mkdir $tmpdir || {
- $echo 'Cannot create target directory' $tmpdir >&2
- $echo 'you should perhaps try option -target OtherDirectory' >&2
- eval $finish; exit 1;
- }
- location="`pwd`"
- echo=echo; [ -x /usr/ucb/echo ] && echo=/usr/ucb/echo
- if [ x$SETUP_NOCHECK != x1 ]; then
- $echo -n Verifying archive integrity...
- sum1=`tail +6 $0 | cksum | sed -e 's/ /Z/' -e 's/ /Z/' | cut -dZ -f1`
- [ $sum1 -ne $CRCsum ] && {
- $echo Error in check sums $sum1 $CRCsum
- eval $finish; exit 2;
- }
- echo OK
- fi
- if [ $MD5 != \"00000000000000000000000000000000\" ]; then
- # space separated list of directories
- [ x$GUESS_MD5_PATH = x ] && GUESS_MD5_PATH=\"/usr/local/ssl/bin\"
- MD5_PATH=\"\"
- for a in $GUESS_MD5_PATH; do
- if which $a/md5 >/dev/null 2>&1 ; then
- MD5_PATH=$a;
- fi
- done
- if [ -x $MD5_PATH/md5 ]; then
- md5sum=`tail +6 $0 | $MD5_PATH/md5`;
- [ $md5sum != $MD5 ] && {
- $echo Error in md5 sums $md5sum $MD5
- eval $finish; exit 2;
- }
- fi
- fi
- UnTAR() { tar xvf - || { echo Extraction failed. > /dev/tty; kill -15 $$; } ; }
- $echo -n "Uncompressing $label"
- cd $tmpdir ; res=3
- [ "$keep" = y ] || trap 'echo Signal caught, cleaning up > /dev/tty; cd $TMPROOT; /bin/rm -rf $tmpdir; eval $finish; exit 15' 1 2 15
- if (cd "$location"; tail +$skip $0; ) | gzip -cd | UnTAR | (while read a; do $echo -n .; done; echo; ); then
- chown -Rf `id -u`.`id -g` .
- res=0; if [ x"$script" != x ]; then
- if [ x"$verbose" = xy ]; then
- $echo "OK to execute: $script $scriptargs $* ? [Y/n] "
- read yn
- [ x"$yn" = x -o x"$yn" = xy -o x"$yn" = xY ] && { $script $scriptargs $*; res=$?; }
- else
- $script $scriptargs $*; res=$?
- fi
- [ $res != 0 ] && echo "The program returned an error code ($res)"
- fi
- [ "$keep" = y ] || { cd $TMPROOT; /bin/rm -rf $tmpdir; }
- else
- echo "Cannot decompress $0"; eval $finish; exit 1
- fi
- eval $finish; exit $res
- END_OF_STUB
- ï ▐╘Θ:∞[√oGÆvn
- èÄ░Ç∞IQóüüCáΦasúç#╤▒sï└h╬4╔ÄfªÖyÉΓΓp≈»▀WU▌3CJ╬▐╖ ░êDºº¬║₧_U7∩.N╧»/·σc∙Γƒ÷│?¬J⌐ôπ#·╜r4α┐±3<8<:╞ôâôâ²ß±┴ß Å√ç/╘α┼o≡SÑ╬òz17yT%ª°▄║╪,M≥Γ_εºú~στ¡╤╦╡zcáá╤H¥_\▀■Ωrⁿⁿ`≥┬║Lφ≈ô░÷tæ█Dw╒┴`0Φαºy6>²÷ΩB▌^¬│█¢±┼═°╛²p_▌»ï╥ñΩ╬ⁿR┘▄ñ&+ï╓≤5╩`╘$╤%Di=¬wë^█lª╞sú▐Φ╘┤¬qε¬ <`ε\ëE¡gGΩ╠eÑÄΦcuσ¼║w╙rÑs╙»¿O┬≈₧ Θ╝▄Ñε╝_\½╗ï∩▀Åε.«yCƒ[╢W6½╒â╔3ô¿Ñ╫ΦA á ▀a╖╢J╒┴p¿V╢£½ß╣╥Qdôδ╥σ*╥yîeê╖tóεN»U.Zè╒╦²â»╒⌡╖° r)ö¢°V₧¥≈εn»U£[░┬▀?╪╪8&â -44ó▄⌠Åç_≡r߯╩+÷πen╠╫╟╡î├■░ñ DfV&W║T√╟ô┼+o∩∩╕.`"X╕*ïâ¿oëUlïæAvàwúP S∞"ÖNg<╖àZΣ.«óR߃Ö├»¼Σ²¿)ÿWEáæ¡k╤≡~ ú░Y∞VE╟-H]d╬é}⌐┐E╖¿ùù┼ûvüù╠µΩva▓7W}rîóJ╩╬╝,»≈÷8╟ÄU⌠▒█=OeoûêvûÅΣÇolz*ñ≤Å;Z▒-τφ?πX¥ù»╘Φµ~|zuu:▌▐<]╤╣½2fSÿd┌3Åeε}76⌐Sµ╤DUIå}M▐÷gU╠╒|v╨úç╜╟»Å√yò}╞í;/ç»╘╗½╙G7o╘°φàzsz}±ⁿJûat?▌]U:EÖ╢d╣HE¼rúª6ç"J¢╡vò∩g╥Ä▓%LÜ$*╩
- 4º┤Ωⁿ╫^ƒö╜8└âα╪░╤║»▐σfjrôEªΦ*SF²«╝=üF░~╥A║»%pIΓVñ¥╧*╬&*╒kZ=âY2²⌐H¼╗┐⌡µΩ?U»77╔Γº/┐<╖┼[ä+╤g
- ₧PΦÖßÑK^Ω≥º╓b╤GpU^;σ╡╙*I
- l┘`y0)/m≡Ω»^▒o¢xk¡═á.y╞ï^£9ÄAêß8é╚╔ïB£å°╪ⁿ[/≥╦ú8wΘs╦%≡Z╟k[┘,)Zz;Éád▌H⌠¿─Nr¥»∙▌è▀E∞FK]<≤rUÉà(ç╪ä▓J≤ïσz]0üÆ >1│~╡Σ∙⌐)"'*⌐ïßCä&┐9e╗L8«≥,êçOö╖╟c░ÿ■è-òÅz]@(¥,µÜ^¢╝┌╣7åò⌠v|}%µHuVΘäA
- WDHû┌&£haφé²τC░≤≥≡ò▀▌╛Gü╝{{;F$>╗εëkô&R!≤ª: ╛HzPTZp ªv6/╒\/Q█ÉÄ:¡jíBΩ/·Ωr[■;╜0╔ƒS*cF╝▀Ä▀▐┘9¿jeì┌╗¢$IêJ╬╘ÖZ¡V²ìL┌≈║Φ▄ôo·w╛Eà╝╕
- êz┘y▒ⁿ⌠ò║ñ╠╥U╤▄D0MB█C}tY&£
- Dx╣B╔âba⌠σhÆ£?!@Wò&∩+uì╟É67█δ±I _Çé ;╜
- ¥╗⌠büÿ╠√`
- ┤±%┤ÖÜP┬<Di╞┬╥èòF2S?┬*æf ═u6σô8Ñ↑$:▐%dµ=ε·╨∩½╤|2å<▐KÆg6C-bà¼\■ÇöYµk_ ╣B27J#És╬ü₧╬r¥╩╢FD;vF÷Bd║░|K_∞QMz±OÖîbö2
- 1`╜
- ε┴╛/mE¼╗jµ(√
- K╛AFMUVqm1╝│╒▄Éê╚x∞╡ydk₧¡ù≡U╬
- b╞è╘N╞¿σd#53Hy!Ö┐V;(:»╒σ)J≡kUe¡AF£_^½▐■Ä8Γåπ∞ΓùΣ2╢US æ╧φód½ÆÑJ╙:ZSö╒dù6(U.Y│=I»Σ}▒z╢hk╜ΣΩJ≡M\íMg╨2Q┘.₧{êc╕@jtj¿0X-ÑDñèá°╞A{°╝ £vö₧"\Ü≥ô8ΣjU⌐vÜ\Ω■σ╔ô╕l╢│╡Æ╣ÿó╝≥!╦ÄF{N,p[|▐3çV╕áÅ^╛╠4┼â╤&τ║α╨7
- ╡-x*Gδ┼²Θº7W?]~ä{òΣe╗╙]eº¢f╘└êù┐ æ@■▓±Åk6╡<]%╛ç≡╬J∩╗╡╛|$<-Z]Zé\¡}┘▌φò╗jÜh2)h╘¿JÄσP ─√"(ü≈ñΩ¬t=.äb╦gÉWΓóxÉt▌êí(-Qσ ²╡D╖F≥NbVç"òσK╩¢#I┘.╜ào₧┐9EÇá╨w%`m4o╝ú╕╝_ ╣áDc_u ╜┼ ä^p¢:Ñ■0₧>·*íΩtë$Z8╬¬
- G$╛⌐ܼ[d≡âK¥[R╜|~⌡Θç╤∙┼φºÅ√√ƒ≡Γ⌡φ√√▀N`eRq▌∞÷╒E╓∩2╦?{è⌡δo √@╓⌠¼
- ñº╝6à■┴╣╪9tàδ∩ú┼±▀αs╞@ÜåQ?kÆ1£\,N{½╖²·y!oƒò2╚°9⌠uÅ!Gåy≡æ}é&═╠
- ╥Mèù⌐~